package server;

import java.util.HashMap;

/**Overall Highscore */
public class HighScore {
	public static HashMap<String, Integer> highscore;
	
	public static void initHighScore(){
		highscore = new HashMap<String, Integer>();
	}
	public static String getSortetScores(){
		//TODO sorted!
		//Collections.sort((List<Integer>) highscore);
		StringBuffer tmp = new StringBuffer();
		for(String name:highscore.keySet()){
			tmp.append(name + " : " + highscore.get(name)+"\n");
		}
		return tmp.toString();
	}
}
